package com.yidu.sanrenxing.homedata.domain;

import com.yidu.sanrenxing.utils.ImgFormat;

import java.io.Serializable;

public class Image implements Serializable {
    private int imgid;

    private String img;

    private static final long serialVersionUID = 1L;

    public int getImgid() {
        return imgid;
    }

    public void setImgid(int imgid) {
        this.imgid = imgid;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = ImgFormat.tranFormat(img);//转换格式后再赋值
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }
}